package com.wt.service.fallback;

import com.wt.pojo.User;
import com.wt.service.UserService;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class UserServiceFialil implements UserService {
    @Override
    public String add(User u) {
        return "add error";
    }

    @Override
    public String delete(Integer uid) {
        return null;
    }

    @Override
    public String update(User u) {
        return null;
    }

    @Override
    public String GetUsers(String name, Integer age) {
        return null;
    }

    @Override
    public List<User> list(User u) {
        return null;
    }
}
